<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- 上述3个meta标签*必须*放在最前面，任何其他内容都*必须*跟随其后！ -->
    <title>校园网流量账号申请系统</title>

	<!-- Bootstrap -->
	<link href="/static/bootstrap/bootstrap.min.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" type="text/css" href="/static/com.css" />
	<!-- HTML5 shim 和 Respond.js 是为了让 IE8 支持 HTML5 元素和媒体查询（media queries）功能 -->
	<!-- 警告：通过 file:// 协议（就是直接将 html 页面拖拽到浏览器中）访问页面时 Respond.js 不起作用 -->
	<!--[if lt IE 9]>
      <script src="/static/html5shiv/html5shiv.min.js"></script>
	  <script src="/static/respond/respond.min.js"></script>
    <![endif]-->
</head>

<body>

    <nav class="navbar navbar-default" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <a class="navbar-brand" href="index">校园网流量账号申请系统</a>
            </div>
            <div class="collapse navbar-collapse" id="example-navbar-collapse">
                <ul class="nav navbar-nav">
                    <li><a href="index"><span class="glyphicon glyphicon-home" aria-hidden="true"></span>&nbsp;&nbsp;首
                            页</a></li>
                    <li><a href="apply"><span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>&nbsp;&nbsp;我要申请</a></li>
                    <li class="active"><a href="apply/record"><span class="glyphicon glyphicon-list-alt" aria-hidden="true"></span>&nbsp;&nbsp;申请记录</a></li>
                    <li><a href="help"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span>&nbsp;&nbsp;帮
                            助</a></li>
                    <li><a href="#"><span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span>&nbsp;&nbsp;关于我们</a></li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    {if ($flag) }
                    <li><a href="#"><span class="glyphicon glyphicon-user"></span>{$username}</a></li>
                    <li><a href="logout/user"><span class="glyphicon glyphicon-log-out"></span> 退出</a></li>
                    {else /}
                    <li><a href="login"><span class="glyphicon glyphicon-log-in"></span> 登录</a></li>
                    {/if}
                </ul>
            </div>
        </div>
    </nav>
	<div class="container">
            <div class="row">
                <div class="col-md-12 column">
                        <div class="table-responsive">
                                <table class="table table-hover table-striped table-bordered" id="record">
                                    <tr>
                                        <th>#</th>
                                        <th>申请时间</th>
                                        <th>审核状态</th>
                                        <th>过期时间</th>
                                        <th>账号</th>
                                        <th>密码</th>
                                    </tr>
                                    {volist name="record" id="vo" key="i" empty="$empty" }
                                        <tr>
                                            <td>{$i}</td>
                                            <td>{$vo.create_time}</td>
                                            <td>{$vo.condition}</td>
                                            <td>{$vo.expire_time}</td>
                                            <td>{$vo.account}</td>
                                            <td>{$vo.password}</td>
                                        </tr>
                                    {/volist}
                                </table>
                            </div>
                    </div>
            </div>
    </div>
    <footer class="footer">
        <div class="container">
            <p class="text-muted text-center p-line-height">Copyright © 2019 大学生网络信息中心. All Rights Reserved </p>
        </div>
    </footer>
	<!-- jQuery (Bootstrap 的所有 JavaScript 插件都依赖 jQuery，所以必须放在前边) -->
	<script src="/static/jquery/jquery.min.js"></script>
	<!-- 加载 Bootstrap 的所有 JavaScript 插件。你也可以根据需要只加载单个插件。 -->
    <script src="/static/bootstrap/bootstrap.min.js"></script>
</body>

</html>